package teacher;

import secretary.defineSemester;
import basic.ClientConsole;

import com.sun.rowset.CachedRowSetImpl;

import flexibility.userData;

public class getcurrassignment {
	public defineSemester semester=new defineSemester();
	int currentSem;
	public CachedRowSetImpl getcurrassignments(ClientConsole teacherConnection,
			CachedRowSetImpl rs, userData T_Data,Integer myID,String CID){
		getCoursesCurrSem gcc=new getCoursesCurrSem();
		currentSem=semester.identify(0, teacherConnection, rs);
		T_Data.deleteAll();
		T_Data.addData(29);
		T_Data.addData(1);
		T_Data.addData(CID);
		T_Data.addData(currentSem);///CurrSemID
		T_Data.addData(myID);
		teacherConnection.acceptMsg(T_Data);
        rs = teacherConnection.getResults();
		return rs;
		
	}
}
